package com.qyhl.webtv.module_microvideo.shortvideo.classic.detail.live;

import com.qyhl.webtv.commonlib.entity.microvideo.ClassicProgramNoticeBean;

import java.util.List;

public class ClassicLivePresenter implements ClassicLiveContract.ClassicLivePresenter {
    private ClassicLiveContract.ClassicLiveView mView;
    private ClassicLiveModel mModel;

    ClassicLivePresenter(ClassicLiveContract.ClassicLiveView mView) {
        this.mView = mView;
        this.mModel = new ClassicLiveModel(this);
    }

    @Override
    public void getList(String proId) {
        mModel.getList(proId);
    }

    @Override
    public void setList(List<ClassicProgramNoticeBean> beanList) {
        mView.setList(beanList);
    }

    @Override
    public void setError(String msg) {
        mView.setError(msg);
    }
}

